package com.selen.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Selen
 */
@Data
@Schema(description = "模糊查询专用DTO")
public class RoomPageDTO extends PageDTO{

    @NotEmpty(message = "查询关键字不能为空")
    @Schema(description = "查询关键字")
    private String keyword;

}
